package com.authine.cloudpivot.common.extension.client.dto;

import lombok.Data;

import java.util.Collections;
import java.util.List;

@Data
public class AbstractMessageDTO {

    private String url;

    private String title;

    private String content;

    private List<String> receiverList;

    private String bizParams;

    public List<String> getReceiverList() {
        if (receiverList == null) {
            return Collections.emptyList();
        }
        return receiverList;
    }

}
